package me.dwliu.redis.dao;

import me.dwliu.redis.domain.User;
import me.dwliu.redis.exception.UserException;

/**
 * Created by dw.liu on 2016/1/29 0029.
 */
public interface UserDao {
    void saveUser(User user) throws UserException;

    User getUser(Long id) throws UserException;
}
